package com.flca.frw.config;

import java.io.File;
import java.util.List;

import org.apache.commons.configuration.Configuration;

public interface Config extends Configuration
{
	List<String> getConfigFSDirs();
	List<String> getConfigCPDirs();
	List<String> getConfigScanJars();
	
	/**
	 * return the first File indicated by the (short) filename, if it is found in th config folders.
	 * otherwise null is returned.
	 * @param aFilename
	 * @return
	 */
	File getFile(String aFilename);
	
	/**
	 * return the content of the first File indicated by the (short) filename, if it is found in th config folders.
	 * otherwise null is returned.
	 * @param aFilename
	 * @return
	 */
	String getFileContent(String aFilename);
	
	/**
	 * return info about all properties including what file(s) it came from
	 * @return
	 */
	List<PropertyInfo> getAllPropertiesInfo();
}
